using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;

namespace Eno.Domain.Entity;

public abstract class EntityBase
{
    [Key]
    public Guid ID { get; set; }

    public bool IsActived { get; set; } = true;

    public bool IsDeleted { get; set; } = false;

    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

    public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
    public Guid? CreatedBy { get; set; }
    public Guid? UpdatedBy { get; set; }
    public string? Remarks { get; set; } = string.Empty;
    public int? DisplayOrder { get; set; }
}